<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/PC/css/kindergartenPrincipal/kindergartenPrincipalpage4.css" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/PC/css/financingpage/financingpage2.css" />
	<style type="text/css">
			#subqr1 {
				width: 80px;
				height: 40px;
				font-family: "微软雅黑";
				font-size: 16px;
				background: url(__PUBLIC__/home/img/sczd.png) no-repeat;
				background-size: 100% 100%;
				line-height: 40px;
				float: right;
				position: relative;
				top: -40px;
				color: #232323;
				background-size: 100% 100%;
				border: none;
				outline: none;
				margin-right: 20px;
			}
			
			body>div.content>div {
				min-width: 1120;
				width: auto;
			}
			
			.xmb {
				position: absolute;
				left: 690px;
			}
			
			.drspanbtn {
				cursor: pointer;
			}
			
			.drjy {
				width: 100%;
				background: rgba(0, 0, 0, 0.5);
				position: absolute;
				z-index: 999;
				display:none;
			}
			
			.drform {
				position: absolute;
				top: 30%;
				left: 50%;
				transform: translate(-50%);
				-webkit-transform: translate(-50%);
				-moz-transform: translate(-50%);
				-ms-transform: translate(-50%);
				width: 380px;
				height: 160px;
				padding: 20px;
				background: url(__PUBLIC__/home/img/dkbg.png) no-repeat;
				background-size: 100% 100%;
			}
			
			.drform>img {
				position: absolute;
				right: 20px;
				top: 15px;
				cursor: pointer;
			}
			
			form.drform>li {
				font-family: "微软雅黑";
				font-size: 24px;
				text-align: center;
			}
			
			form.drform>p {
				font-family: "微软雅黑";
				font-size: 16px;
				margin-top: 18px;
				line-height: 30px;
			}
			
			input.drjylj {
				width: 200px;
				height: 30px;
				border: 1px solid #D1D1D1;
				outline: none;
				margin-left: 10px;
			}
			
			.drjybtn,
			.page7ll {
				position: absolute;
				right: 61px;
				top: 70px;
				width: 60px;
				height: 32px;
			}
			
			.drjybtn {
				opacity: 0;
				z-index: 999;
			}
			
			.page7ll {
				text-align: center;
				font-family: "微软雅黑";
				font-size: 14px;
				background: #19C1F0;
				color: #fff;
				line-height: 32px;
			}
			body>div.drjy>form>div{
				text-align: center;
				
			}
			body>div.drjy>form>div>input[type="submit"],
			#qx {
				width: 80px;
				height: 40px;
				margin-top: 25px;
				outline: none;
				border: none;
				background: #19C1F0;
				color: #FFFFFF;
				
			}
			
			#qx {
				background: #D1D1D1;
			}
			body>div.drjy>form>div>input[type="submit"]{
				margin-left: 80px;
			}
		</style>

	<body>
	<div class="drjy">
				<form action="{:U('last_input')}" method="post" class="drform" enctype="multipart/form-data">
					<li>导入结余</li>
					<p>选择文件:<input type="text" readonly="readonly" class="drjylj" value="" /><input type="file" name="last_bill" class="drjybtn" onchange="change(this.value)" /><span class="page7ll">浏览</span></p>

					<div><input type="button" name="" id="qx" value="取消" /><input type="submit" value="确认" /></div>
				</form>
			</div>
		<!--批量修改-->
		<div class="detailPagewrap">
			<form action="{:U('updateItem_c')}" method="post">
				<img class="x" src="__PUBLIC__/Home/PC/img/out2.png" />
				<select name="item_c">
					<volist name="ylist" id="pv">
						<option value="{$pv[0]}">{$pv[3]}</option>
					</volist>
				</select>
				<input type="text" name="amount" id="" value="" placeholder="请输入金额" />
				<input type="submit" value="确认修改" />
			</form>
		</div>
		<!--个人修改-->
		<div class="detailPagewrap1">
			<form action="{:U('updateItem_c')}" method="post">
				<img class="x" src="__PUBLIC__/Home/PC/img/out2.png" />
				<volist name="ylist" id="cv">
					<div><label for="">{$cv[3]}：</label><input type="text" name="{$cv[0]}" id="" value="" placeholder="请输入金额" /></div>
				</volist>
				<input type="hidden" id="uid" name="uid" value="" />
				<input type="submit" value="确认修改" />
			</form>
		</div>
		<!--============nav===========-->
		<include file="Public/pc_header" />
		<div class="content">

			<div class="kindergartenPrincipalpage4conten">
				<form action="" method="post">
						<input type="hidden" name="batch" value="{$batch}" />
					<div>
						<select name="unit" >
						    <volist name="ulist" id="vo">
								<option value="{$vo.id}" <if condition="$vo.id eq $_SESSION['oc_home']['unit']" >selected</if>>{$vo.title}</option>
						    </volist>
						</select>
						<select name="class_id">
								<option value="">全部班级</option>
						    <volist name="clist" id="v">
								<option value="{$v.id}">{$v.title}</option>
						    </volist>
						</select>
						<input type="search" name="nickname" id="" value="" />
						<input type="submit" value="" />
						<input type="button" name="" id="bulkEditing" value="批量修改" />
						<span class="drspanbtn">导入结余</span>
						<a href="{:U('last_output')}" class="xmb">结余模板</a>
					</div>
				</form>
				<form action="{:U('create_bill')}" method="post">
					<input type="submit" id="subqr1" value="生成账单" onClick="return clearbutton()" />
          <script type="text/javascript"> function clearbutton() { if (!confirm("确定要生成账单吗")) return false; } </script>                  
					<ul>

						<li><span>姓名</span><span>班级</span><span>缴费项</span><span>结余(￥)</span><span>总金额(￥)</span><span>明细</span></li>
						<volist name="_list" id="l">
							<li><span>{$l.nickname}</span><span>{$l.class_title}</span><span>{$l.ititle}</span><span>{$l.last_amount}</span><span>{$l.total}</span><span class="a2">明细：(
							<volist name="l.detail" id="dv">
								{$dv.ctitle}:{$dv.amount}&nbsp;
							</volist>
							)</span><input type="button" name="" id="" value="修改" class="xg" uid="{$l.uid}"/></li>
						</volist>
					</ul>
				</form>

			</div>
		</div>
		<iframe src="__PUBLIC__/Home/PC/footer.html" width="100%" height="170px"></iframe>
	</body>
	<script src="__PUBLIC__/Home/PC/js/jquery-2.1.1.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="__PUBLIC__/Home/PC/js/login.js" type="text/javascript" charset="utf-8"></script>
	<script src="__PUBLIC__/Home/PC/js/forgetpassword.js" type="text/javascript" charset="utf-8"></script>
	<script src="__PUBLIC__/Home/PC/js/yzm.js" type="text/javascript" charset="utf-8"></script>
	<script src="__PUBLIC__/Home/PC/js/nav.js" type="text/javascript" charset="utf-8"></script>
	<script src="__PUBLIC__/Home/PC/js/patriarchcenter/patriarchcenterpage3.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		var oHeight = $(document).height();
		$(function() {
			$("#bulkEditing").on("click", function() {
				$(".detailPagewrap").show();
			})
			$(".xg").on("click", function() {
				var uid = $(this).attr('uid');
				$('#uid').val(uid);
				$(".detailPagewrap1").show();
			})
		})
		//  导入结余
		$(".drspanbtn").on("click", function() {
			$(".drjy").show();
		})
		$("#qx").on("click",function(){
			$(".drjy").hide();
		})
		function change(src) {
			$(".drjylj").val(src)
		}

		function selectFile() {
			$("#file").trigger("click");
		}

		$(document).ready(function() {
			$(".drjybtn").change(function() {
				var value = $(".drjybtn").val();
				$(".page7ll").val(value);
			});
		});
		$(".drjy").height(oHeight);
	</script>

</html>